# checkstr = input('请输入要判断的字符号：\n')
# flag = true
# low= 0
# high = len(checkstr)
# while low < high:
#     if checkstr[iow] != checkstr[high]:
#         flag = False
#         break
#     low += 1
#     high -= 1
# if flag:
#     print('“{}”是回文串。'.format(checkstr))
# else:
#     print('“{}”不是回文串。'.format(checkstr))
